package com.kingdee.openimport.patch_service.service;

import com.kingdee.openimport.patch_service.model.PatchVersion;

import java.util.List;

/**
 * Created by Niki on 2018/4/21 10:48
 */
public interface IPatchVersionService {
    void createPatchVersion(PatchVersion patchVersion);

    List<PatchVersion> findAllPatchVersion();

    /**
     * 查询最新的10个版本
     * @return
     */
    List<String> findLatestVersion(int size);

    /**
     * 判断版本是否存在
     * @param version
     * @return
     */
    boolean exist(String version);

}
